﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cinema.Model
{
    class Employee
    {
        //vars
        String name;
        String pass;
        Boolean admin;
        //vars

        //constructor
        public Employee(String name, String pass, Boolean admin)
        {
            this.name = name;
            this.pass = pass;
            this.admin = admin;
        }
        //consructor

        //set
        public void setName(String name)
        {
            this.name = name;
        }

        public void setPass(String pass)
        {
            this.pass = pass;
        }

        public void setAdmin(Boolean admin)
        {
            this.admin = admin;
        }
        //set

        //get
        public String getName()
        {
            return name;
        }

        public String getPass()
        {
            return pass;
        }

        public Boolean isAdmin()
        {
            return admin;
        }
        //get
    }
}
